<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="/assets/css/base.css">
  <link rel="stylesheet" href="/assets/css/iconfont.css">
  <link rel="stylesheet" href="/assets/css/index.css">
  <link rel="stylesheet" href="/assets/css/public.css">
  <link rel="stylesheet" href="/assets/libs/swiper.min.css">
  <link rel="stylesheet" href="/assets/css/swiperStyle.css">
</head>

<body>
  <div class="container">
    @@include('./assets/common/home/nav.html')

    <div class="content">
      <div class="swiper-container">
        <div class="swiper-wrapper">
        </div>
        <!-- Add Pagination -->
        <div class="swiper-pagination"></div>
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
      </div>

      <div class="item recommend">
        @@include('./assets/common/home/hotRecommend.html')
      </div>
      <div class="item release">
        <h3>最近发布</h3>
        <div class="box">
        </div>
      </div>

    </div>

    <div class="footer">
      <p>© 2016 XIU主题演示 本站主题由 themebetter 提供</p>
    </div>

    @@include('./assets/common/home/rightData.html')
  </div>
</body>
@@include('./assets/common/base.html')
<script src="./js/home/home-hot.js"></script>
<script src="/assets/libs/swiper.min.js"></script>




<!-- 轮播图配置 -->
<script type="text/template" id="swiperTemplate">
  {{each swiperList}}
    <div class="swiper-slide">
      <a href="detail.html?id={{$value.link}}">
        <img src="{{baseUrl}}{{$value.image}}" alt="">
      </a>
    </div>
  {{/each}}
</script>

<!-- 最新发布模板 -->
<script type="text/template" id="releaseTemplate">
  {{each releaseList}}
  <div class="item-box">
    <div class="header">
      <span class="life">{{$value.category.title}}</span>
      <a href="detail.html?id={{$value._id}}" class="title">{{$value.title}}</a>
    </div>
    <div class="main">
      <p class="info">{{$value.author.nickName}} 发表于{{handleDate($value.author.createTime)}}</p>
      <p class="dec">{{$value.content}}</p>
      <p class="extra">
        <span class="read">阅读({{$value.meta.views}})</span>
        <span class="comment">评论({{$value.meta.comments}})</span>
        <a href="javascript:;" class="zan">
          <span class="iconfont icon-dianzan icon"></span>
          赞({{$value.meta.likes}})
        </a>
        <a href="javascript:;">
          分类:
          <span>{{$value.category.title}}</span>
        </a>
      </p>
      <a href="detail.html?id={{$value._id}}" class="pic">
        <img src="{{baseUrl}}{{$value.thumbnail}}" alt="">
      </a>
    </div>
  </div>
  {{/each}}
</script>

<script src="./js/home/home.js"></script>

<script>

</script>

</html>